package com.weipai.demo.service;

import com.weipai.demo.model.House;
import com.weipai.demo.model.HouseType;
import com.weipai.demo.util.Response;

public interface HouseService {
    Response getList(Integer page, Integer size, House house, Integer front, Integer sort, String sortType);

    Response getHouseTypeList(Integer page, Integer size, Integer id);

    Response addHouse(House house);

    Response addHouseType(HouseType houseType);

    Response delHouse(Integer id);

    Response delHouseType(Integer id);

    Response changePublishStatus(Integer id, Integer publishStatus);

    Response getDetail(Integer id);
}
